Hello,
I have two modules source and target.
I have to create a DXL script which should do the below steps,
1. copy some of the attributes from source module to target module
2. compare source and target module's object heading and text. And updated text to be added in
target module from source. If new object is available in source module, it should create in the target module. then link to be created from target module to souce module object.
Any help is appreciated.
Thanks in advance,
Muthurani M
muthurani - Fri Mar 11 08:12:58 EST 2011 |
Re: compare two modules llandale - Mon Mar 14 18:29:14 EDT 2011
It sounds like you want a script that when run, will make the Target module fundamentally a copy of the Source module. That's rather difficult and such a huge script is basically way out of scope for this forum.
Its even more difficult if you are attempting to keep two modules in sync with each other by keeping objects linked together, but may not have the same object identifiers.
It may be somewhat easier if you had Attr-DXL in one module that simply displayed the relevant information from the other linked object. That is, if you are writing a Test Procedure for each Requirement, your Procedure object would link to your Requirement, you could simply display in a column that linked requirents Text; which when changed would automatically update. An on-demand script could find Requirements that have no Test yet, such as newly created requirements, and offer to create a Procedure Object in the Test module and create the link.
|